<div class="alert fade in" style="background-color: yellow; color: #000">
	<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
	<strong>Time reference must be Zulu Time.</strong>
</div>
  
<p><i class="icon-ok"></i> <?=$t_campos_obrigatorios?></p>

<div class="row-fluid">

    <table class="table table-striped table-bordered table-hover">

        <tr>
            <th width="120" height="40">Country Nation*</th>
            <th width="100">Headquarters*</th>
            <th width="100">Type of Aircraft *</th>
            <th width="250">Necessity (GSE/GPU) *</th>
            <th width="50">Quantity *</th>
            <th width="50">Service Time*</th>
            <th width="100">Appron Place*</th>
            <th width="50">Time of dep*</th>
        </tr>

        <?php 
        if (isset($_GET['add'])){ $_GET['num'] = $_GET['num']+$_GET['add']; } else { $_GET['num'] = 1; }
        for ($i=0;$i<$_GET['num'];$i++){ 
        ?>

        <tr>
            <td height="40">
                <?php 
                $estilo = "style='width:120px;'";
                include "mod/combo/pai_id_array.php";
                ?>
            </td>
            <td>
            <?php 
            $estilo = "style='width:100px;'";
            include "mod/combo/sed_id_array.php";
            ?>
            </td>
            <td>
            <?php 
            $estilo = "style='width:150px;'";
            include "mod/combo/aer_id_array.php";
            ?>
            </td>
            <td>
            <?php 
            $estilo = "style='width:250px;'";
            include "mod/combo/ati_id_array.php";
            ?>
            </td>
            <td><input type="text" name="log_qtd[]" value="<?php echo $log_qtd[$i];?>" class="tamanho1"></td>
            <td><input type="text" name="log_localtime[]" value="<?php echo $log_localtime[$i];?>" class="tamanho2 hora" placeholder="HH:MM"></td>
            <td>
            <select name="log_appron[]">
            	<option value="ALFA LINE">ALFA LINE</option>
            	<option value="BRAVO LINE">BRAVO LINE</option>
            	<option value="DELTA LINE">DELTA LINE</option>
            	<option value="INDIA LINE">INDIA LINE</option>
            	<option value="RUNWAY 30">RUNWAY 30</option>
            	<option value="FOXTROT LINE">FOXTROT LINE</option>
            	<option value="OTHER">OTHER</option>
            </select>
            <td><input type="text" name="log_timedep[]" value="<?php echo $log_timedep[$i];?>" class="tamanho2 hora" placeholder="HH:MM"></td>
        </tr>
        <tr>
            <td colspan="8"><textarea name="log_msg[]" class="tamanho4" placeholder="Comments"><?php echo $log_msg[$i]?></textarea></td>
        </tr>

        <?
        } 
        ?>
    </table>

    <p><a href="?pag=logistica_inc&add=1&num=<?php echo $_GET['num'];?>" target="_self" class="btn"><i class="icon-plus"></i> Add item</a></p>

</div>